<?php 
if (!InDir("login.php", $_SERVER['PHP_SELF'])) {
	if (!isset($_SESSION["ALLOWRUN"]) || $_SESSION["ALLOWRUN"]=="") {
		header ("Location: ../login.php");
		exit;
	} else {
		if (!isset($_SESSION["UserID"]) || $_SESSION["UserID"]=="") {
			header ("Location: ../login.php");
			exit;
		}
	}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0048)http://dev.telcom.net/bay_harbor/admin/login.asp -->
<HTML xmlns="http://www.w3.org/1999/xhtml">
	<HEAD>
		<TITLE>.:ADVERTISEMENT SYSTEM:.</TITLE>
		<META http-equiv="Content-Type" content="text/html; charset=utf-8">
		<LINK href="../../css/cssofadmin.css" type="text/css" rel="stylesheet">
		<LINK rel="stylesheet" type="text/css" href="<?php  echo URL_SITE;?>scripts/ext-4.0.0/resources/css/ext-all.css">
		<script language="javascript" src="<?php  echo URL_SITE;?>scripts/script.js"></script>
		<script language="javascript" src="<?php  echo URL_SITE;?>scripts/chklist.js"></script>
		<script language="javascript" src="<?php  echo URL_SITE;?>scripts/datetimepicker.js"></script>
</HEAD>
	<BODY topmargin="0">
		<table cellspacing="0" cellpadding="0" border="0" align="center" width="95%">
<tr>
	<td colspan=3>
		<table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr>
				<td width="30%" align="left"><div class="cap"><font size="3">ADVERTISEMENT SYSTEM</font></div></td>
			</tr>
		</table>
	</td>
</tr>
<tr>
	<td colspan="3" background="<? echo URL_SITE;?>images/line_top.gif" height="1">&nbsp;</td>
</tr>
<tr>
	<td valign="top" bgcolor="#FFFFFF" width="150" align="left" colspan="2">
	<table width="150" border="0" cellpadding="0" cellspacing="1" class="box">
		<tr>
            <td class="lefttable">
				<a href="<? echo URL_SITE;?>admin/users/list.php" class="<? echo (InDir("/users/", $PHP_SELF)?"menuCurrLink":"menuLink");?>">
					Users
				</a>
			</td>
          </tr>
		<tr>
            <td class="lefttable">
			<a href="<? echo URL_SITE;?>admin/webpage/list.php" class="<? echo (InDir("/webpage/", $PHP_SELF)?"menuCurrLink":"menuLink");?>">
				Web pages
			</a>
			</td>
          </tr>
		<tr>
            <td class="lefttable">
			<a href="<? echo URL_SITE;?>admin/webpageposition/list.php" class="<? echo (InDir("/webpageposition/", $PHP_SELF)?"menuCurrLink":"menuLink");?>">
				Web page positions
			</a>
			</td>
          </tr>
		<tr>
            <td class="lefttable">
			<a href="<? echo URL_SITE;?>admin/banner/list.php" class="<? echo (InDir("/banner/", $PHP_SELF)?"menuCurrLink":"menuLink");?>">
				Banners
			</a>
			</td>
          </tr>
		<tr>
            <td class="lefttable">
			<a href="<? echo URL_SITE;?>admin/report/list.php" class="<? echo (InDir("/report/", $PHP_SELF)?"menuCurrLink":"menuLink");?>">
				Report
			</a>
			</td>
          </tr>
		<tr>
            <td class="lefttable">
				<a href="<? echo URL_SITE;?>admin/pass/chpsw.php" class="<? echo (InDir("/pass/", $PHP_SELF)?"menuCurrLink":"menuLink");?>">
				Change Password
				</a>
			</td>
          </tr>
		
		<tr>
            <td class="lefttable" style="color:#9E0C0F">
				<? if (InDir("login.php", $PHP_SELF)) echo "<b>";?> 
				<a href="<? echo URL_SITE;?>admin/login.php" class="menuLink">Sign out</a>
				<? if (InDir("login.php", $PHP_SELF)) echo "</b>";?>
			</td>
        </tr>
        <tr height="30">
            <td class="lefttable">&nbsp;
				
			</td>
          </tr>		
	</table>	
	<br />
	<img src="<? echo URL_SITE;?>images/space.gif" width="0" id="imgMain">			
	</td>
	<td valign="top" width="100%" align="center">